import request from '@/utils/request'

// 查询项目关键条款默认提醒人详细
export function getDealTermsReminder(id) {
  return request({
    url: '/terms/dealTermsReminder/' + id,
    method: 'get'
  })
}

export function getReminderByDealId(dealId) {
  return request({
    url: '/terms/dealTermsReminder/byDealId/' + dealId,
    method: 'get'
  })
}

// 保存项目关键条款默认提醒人
export function saveDealTermsReminder(data) {
  return request({
    url: '/terms/dealTermsReminder/save',
    method: 'post',
    data: data
  })
}
